package Test3;

public class Record {
private String  carId;  //车牌号
private Integer spaceId; //停车位号
private String timeStart; //停车时间
private String timeEnd;//取车时间
private double cost; //总花费 
public String getCarId() {
	return carId;
}
public void setCarId(String carId) {
	this.carId = carId;
}
public Integer getSpaceId() {
	return spaceId;
}
public void setSpaceId(Integer spaceId) {
	this.spaceId = spaceId;
}
public String getTimeStart() {
	return timeStart;
}
public void setTimeStart(String timeStart) {
	this.timeStart = timeStart;
}
public String getTimeEnd() {
	return timeEnd;
}
public void setTimeEnd(String timeEnd) {
	this.timeEnd = timeEnd;
}
public double getCost() {
	return cost;
}
public void setCost(double cost) {
	this.cost = cost;
}
@Override
public String toString() {
	return "Record [carId=" + carId + ", spaceId=" + spaceId + ", timeStart=" + timeStart + ", timeEnd=" + timeEnd
			+ ", cost=" + cost + "]";
}
public Record(String carId, Integer spaceId, String timeStart, String timeEnd, double cost) {
	super();
	this.carId = carId;
	this.spaceId = spaceId;
	this.timeStart = timeStart;
	this.timeEnd = timeEnd;
	this.cost = cost;
}
public Record() {
	super();
	// TODO Auto-generated constructor stub
}


	
	
}
